using Zhaoxi.Zhihu.SharedKerel.Result;

namespace Zhaoxi.Zhihu.UseCases.Common.Interface;

public interface IIdentityService
{
    Task<Result<int>> CreateUserAsync(string username, string password);
    
    Task<Result<string>> GetAccessTokenAsync(string username, string password);
}